//
//  XMAddressBookViewController.m
//  XMJJ_zml
//
//  Created by apple on 2025/5/13.
//

#import "XMAddressBookViewController.h"
#import "XMAddressBookView.h"

@interface XMAddressBookViewController ()

@property (nonatomic, strong) XMAddressBookView *addressBookView;

@end

@implementation XMAddressBookViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self creatUI];
}

- (void)creatUI {
    [self.view addSubview:self.addressBookView];
    [_addressBookView setContentWithUserModelArr:self.userModelArr];
}

- (XMAddressBookView *)addressBookView {
    if (!_addressBookView) {
        _addressBookView = [[XMAddressBookView alloc] initWithFrame:self.view.bounds];
    }
    return _addressBookView;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
